.class public abstract Lcom/estrongs/android/pop/app/openscreenad/s;
.super Ljava/lang/Object;
.source "OpenScreenADManager.java"


# instance fields
.field private a:Landroid/content/SharedPreferences;


# direct methods
.method public constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method private a(Ljava/util/List;II)Lcom/estrongs/android/pop/app/openscreenad/q$a;
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/estrongs/android/pop/app/openscreenad/q$a;",
            ">;II)",
            "Lcom/estrongs/android/pop/app/openscreenad/q$a;"
        }
    .end annotation

    const/4 v0, 0x0

    if-eqz p1, :cond_2

    .line 35
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v1

    if-nez v1, :cond_0

    goto :goto_0

    :cond_0
    add-int/lit8 p3, p3, 0x1

    .line 36
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v1

    add-int/lit8 p2, p2, 0x1

    .line 37
    rem-int/2addr p2, v1

    .line 38
    invoke-interface {p1, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/estrongs/android/pop/app/openscreenad/q$a;

    .line 39
    invoke-direct {p0, v2}, Lcom/estrongs/android/pop/app/openscreenad/s;->c(Lcom/estrongs/android/pop/app/openscreenad/q$a;)Z

    move-result v3

    if-nez v3, :cond_1

    .line 40
    invoke-direct {p0, p2}, Lcom/estrongs/android/pop/app/openscreenad/s;->b(I)V

    return-object v2

    :cond_1
    if-ge p3, v1, :cond_2

    .line 41
    invoke-direct {p0, p1, p2, p3}, Lcom/estrongs/android/pop/app/openscreenad/s;->a(Ljava/util/List;II)Lcom/estrongs/android/pop/app/openscreenad/q$a;

    move-result-object p1

    return-object p1

    :cond_2
    :goto_0
    return-object v0
.end method

.method private a(I)V
    .locals 3

    const/4 v0, 0x0

    const/4 v1, 0x1

    if-ne p1, v1, :cond_0

    .line 54
    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/app/openscreenad/s;->a(Z)V

    goto :goto_0

    :cond_0
    const/4 v2, 0x2

    if-ne p1, v2, :cond_1

    .line 55
    invoke-virtual {p0, v1}, Lcom/estrongs/android/pop/app/openscreenad/s;->a(Z)V

    goto :goto_0

    .line 56
    :cond_1
    invoke-direct {p0, v0, v1}, Lcom/estrongs/android/pop/app/openscreenad/s;->a(II)Z

    move-result p1

    if-eqz p1, :cond_2

    .line 57
    invoke-virtual {p0, v1}, Lcom/estrongs/android/pop/app/openscreenad/s;->a(Z)V

    goto :goto_0

    .line 58
    :cond_2
    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/app/openscreenad/s;->a(Z)V

    :goto_0
    return-void
.end method

.method private a(Les/ll;)V
    .locals 4

    .line 7
    instance-of v0, p1, Lcom/estrongs/android/pop/app/openscreenad/q;

    const/4 v1, 0x0

    if-nez v0, :cond_0

    .line 8
    invoke-direct {p0, v1}, Lcom/estrongs/android/pop/app/openscreenad/s;->a(I)V

    return-void

    .line 9
    :cond_0
    check-cast p1, Lcom/estrongs/android/pop/app/openscreenad/q;

    .line 10
    iget v0, p1, Lcom/estrongs/android/pop/app/openscreenad/q;->d:I

    iget v2, p1, Lcom/estrongs/android/pop/app/openscreenad/q;->e:I

    invoke-direct {p0, v0, v2}, Lcom/estrongs/android/pop/app/openscreenad/s;->a(II)Z

    move-result v0

    const/4 v2, 0x1

    if-nez v0, :cond_1

    .line 11
    invoke-direct {p0, v2}, Lcom/estrongs/android/pop/app/openscreenad/s;->a(I)V

    return-void

    .line 12
    :cond_1
    iget-object p1, p1, Lcom/estrongs/android/pop/app/openscreenad/q;->c:Ljava/util/List;

    const/4 v0, 0x2

    if-eqz p1, :cond_4

    .line 13
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v3

    if-nez v3, :cond_2

    goto :goto_0

    .line 14
    :cond_2
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/openscreenad/s;->e()I

    move-result v3

    .line 15
    invoke-direct {p0, p1, v3, v1}, Lcom/estrongs/android/pop/app/openscreenad/s;->a(Ljava/util/List;II)Lcom/estrongs/android/pop/app/openscreenad/q$a;

    move-result-object p1

    if-nez p1, :cond_3

    .line 16
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/openscreenad/s;->a(I)V

    return-void

    .line 17
    :cond_3
    invoke-virtual {p0}, Lcom/estrongs/android/pop/app/openscreenad/s;->b()V

    .line 18
    invoke-virtual {p0, p1}, Lcom/estrongs/android/pop/app/openscreenad/s;->a(Lcom/estrongs/android/pop/app/openscreenad/q$a;)V

    .line 19
    iget-object v0, p1, Lcom/estrongs/android/pop/app/openscreenad/q$a;->f:Ljava/lang/String;

    iget-object p1, p1, Lcom/estrongs/android/pop/app/openscreenad/q$a;->e:Ljava/lang/String;

    invoke-static {v2, v0, p1}, Lcom/estrongs/android/pop/app/openscreenad/s;->a(ZLjava/lang/String;Ljava/lang/String;)V

    return-void

    :cond_4
    :goto_0
    const-string p1, "default"

    const-string v1, "noadf3"

    .line 20
    invoke-static {p1, p1, v1}, Lcom/estrongs/android/pop/app/openscreenad/s;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    .line 21
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/openscreenad/s;->a(I)V

    return-void
.end method

.method private static a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 2

    .line 48
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    :try_start_0
    const-string v1, "channel"

    .line 49
    invoke-virtual {v0, v1, p0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string p0, "ad"

    .line 50
    invoke-virtual {v0, p0, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string p0, "error"

    .line 51
    invoke-virtual {v0, p0, p2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 52
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p0

    const-string p1, "noadshowF"

    invoke-virtual {p0, p1, v0}, Lcom/estrongs/android/statistics/b;->c(Ljava/lang/String;Lorg/json/JSONObject;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p0

    .line 53
    invoke-virtual {p0}, Lorg/json/JSONException;->printStackTrace()V

    :goto_0
    return-void
.end method

.method private static a(ZLjava/lang/String;Ljava/lang/String;)V
    .locals 2

    .line 42
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    :try_start_0
    const-string v1, "channel"

    .line 43
    invoke-virtual {v0, v1, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string p1, "id"

    .line 44
    invoke-virtual {v0, p1, p2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    if-eqz p0, :cond_0

    .line 45
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p0

    const-string p1, "noadShow"

    invoke-virtual {p0, p1, v0}, Lcom/estrongs/android/statistics/b;->c(Ljava/lang/String;Lorg/json/JSONObject;)V

    goto :goto_0

    .line 46
    :cond_0
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object p0

    const-string p1, "noadClick"

    invoke-virtual {p0, p1, v0}, Lcom/estrongs/android/statistics/b;->c(Ljava/lang/String;Lorg/json/JSONObject;)V
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p0

    .line 47
    invoke-virtual {p0}, Lorg/json/JSONException;->printStackTrace()V

    :goto_0
    return-void
.end method

.method private a(II)Z
    .locals 2

    .line 22
    invoke-static {p1}, Lcom/estrongs/android/pop/utils/u;->a(I)Z

    move-result p1

    const/4 v0, 0x0

    if-eqz p1, :cond_0

    const-string p1, "default"

    const-string p2, "noadf1"

    .line 23
    invoke-static {p1, p1, p2}, Lcom/estrongs/android/pop/app/openscreenad/s;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    return v0

    .line 24
    :cond_0
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/openscreenad/s;->f()I

    move-result p1

    .line 25
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/openscreenad/s;->d()I

    move-result v1

    add-int/2addr v1, p2

    if-gt p1, v1, :cond_1

    return v0

    :cond_1
    const/4 p1, 0x1

    return p1
.end method

.method private a(Ljava/lang/String;)Z
    .locals 2

    .line 1
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    return v1

    .line 2
    :cond_0
    :try_start_0
    invoke-static {}, Lcom/nostra13/universalimageloader/core/d;->h()Lcom/nostra13/universalimageloader/core/d;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nostra13/universalimageloader/core/d;->c()Les/yf0;

    move-result-object v0

    if-eqz v0, :cond_2

    .line 3
    invoke-interface {v0, p1}, Les/yf0;->get(Ljava/lang/String;)Ljava/io/File;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 4
    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v0

    if-eqz v0, :cond_1

    const/4 p1, 0x1

    return p1

    .line 5
    :cond_1
    invoke-static {p1}, Les/qg;->a(Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return v1

    :catch_0
    move-exception p1

    .line 6
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    :cond_2
    return v1
.end method

.method private b(I)V
    .locals 2

    .line 9
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/openscreenad/s;->g()Landroid/content/SharedPreferences;

    .line 10
    iget-object v0, p0, Lcom/estrongs/android/pop/app/openscreenad/s;->a:Landroid/content/SharedPreferences;

    invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    const-string v1, "key_open_ad_last_index"

    .line 11
    invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    move-result-object p1

    invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->commit()Z

    return-void
.end method

.method private b(Lcom/estrongs/android/pop/app/openscreenad/q$a;)Z
    .locals 1

    .line 7
    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/openscreenad/q$a;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 p1, 0x0

    return p1

    .line 8
    :cond_0
    iget-object p1, p1, Lcom/estrongs/android/pop/app/openscreenad/q$a;->b:Ljava/lang/String;

    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/app/openscreenad/s;->a(Ljava/lang/String;)Z

    move-result p1

    return p1
.end method

.method private b(Ljava/lang/String;)Z
    .locals 6

    .line 1
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    return v1

    .line 2
    :cond_0
    new-instance v0, Ljava/util/Date;

    invoke-direct {v0}, Ljava/util/Date;-><init>()V

    .line 3
    new-instance v2, Ljava/text/SimpleDateFormat;

    const-string v3, "yyyyMMdd"

    invoke-direct {v2, v3}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    .line 4
    :try_start_0
    invoke-virtual {v2, p1}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;

    move-result-object p1

    .line 5
    invoke-virtual {p1}, Ljava/util/Date;->getTime()J

    move-result-wide v2

    invoke-virtual {v0}, Ljava/util/Date;->getTime()J

    move-result-wide v4
    :try_end_0
    .catch Ljava/text/ParseException; {:try_start_0 .. :try_end_0} :catch_0

    sub-long/2addr v2, v4

    const-wide/16 v4, 0x0

    cmp-long p1, v2, v4

    if-ltz p1, :cond_1

    return v1

    :cond_1
    const/4 p1, 0x1

    return p1

    :catch_0
    move-exception p1

    .line 6
    invoke-virtual {p1}, Ljava/text/ParseException;->printStackTrace()V

    return v1
.end method

.method private c(Lcom/estrongs/android/pop/app/openscreenad/q$a;)Z
    .locals 3

    const/4 v0, 0x1

    if-nez p1, :cond_0

    return v0

    .line 8
    :cond_0
    iget-boolean v1, p1, Lcom/estrongs/android/pop/app/openscreenad/q$a;->g:Z

    if-nez v1, :cond_1

    .line 9
    iget-object v1, p1, Lcom/estrongs/android/pop/app/openscreenad/q$a;->f:Ljava/lang/String;

    iget-object p1, p1, Lcom/estrongs/android/pop/app/openscreenad/q$a;->e:Ljava/lang/String;

    const-string v2, "noadf2"

    invoke-static {v1, p1, v2}, Lcom/estrongs/android/pop/app/openscreenad/s;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    return v0

    .line 10
    :cond_1
    invoke-static {}, Lcom/estrongs/android/util/f0;->c()Z

    move-result v1

    if-nez v1, :cond_2

    .line 11
    iget-object v1, p1, Lcom/estrongs/android/pop/app/openscreenad/q$a;->f:Ljava/lang/String;

    iget-object p1, p1, Lcom/estrongs/android/pop/app/openscreenad/q$a;->e:Ljava/lang/String;

    const-string v2, "noadf4"

    invoke-static {v1, p1, v2}, Lcom/estrongs/android/pop/app/openscreenad/s;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    return v0

    .line 12
    :cond_2
    iget-object v1, p1, Lcom/estrongs/android/pop/app/openscreenad/q$a;->c:Ljava/lang/String;

    invoke-direct {p0, v1}, Lcom/estrongs/android/pop/app/openscreenad/s;->b(Ljava/lang/String;)Z

    move-result v1

    .line 13
    iget-object v2, p1, Lcom/estrongs/android/pop/app/openscreenad/q$a;->d:Ljava/lang/String;

    invoke-direct {p0, v2}, Lcom/estrongs/android/pop/app/openscreenad/s;->b(Ljava/lang/String;)Z

    move-result v2

    if-eqz v1, :cond_5

    if-eqz v2, :cond_3

    goto :goto_0

    .line 14
    :cond_3
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/app/openscreenad/s;->b(Lcom/estrongs/android/pop/app/openscreenad/q$a;)Z

    move-result v1

    if-nez v1, :cond_4

    .line 15
    iget-object v1, p1, Lcom/estrongs/android/pop/app/openscreenad/q$a;->f:Ljava/lang/String;

    iget-object p1, p1, Lcom/estrongs/android/pop/app/openscreenad/q$a;->e:Ljava/lang/String;

    const-string v2, "noadf3"

    invoke-static {v1, p1, v2}, Lcom/estrongs/android/pop/app/openscreenad/s;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    return v0

    :cond_4
    const/4 p1, 0x0

    return p1

    :cond_5
    :goto_0
    return v0
.end method

.method private d()I
    .locals 3

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/openscreenad/s;->g()Landroid/content/SharedPreferences;

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/openscreenad/s;->a:Landroid/content/SharedPreferences;

    const-string v1, "key_ad_show_number"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v0

    return v0
.end method

.method private e()I
    .locals 3

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/openscreenad/s;->g()Landroid/content/SharedPreferences;

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/openscreenad/s;->a:Landroid/content/SharedPreferences;

    const-string v1, "key_open_ad_last_index"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v0

    return v0
.end method

.method private f()I
    .locals 3

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/openscreenad/s;->g()Landroid/content/SharedPreferences;

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/openscreenad/s;->a:Landroid/content/SharedPreferences;

    const-string v1, "key_splash_show_number"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v0

    return v0
.end method

.method private g()Landroid/content/SharedPreferences;
    .locals 3

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/openscreenad/s;->a:Landroid/content/SharedPreferences;

    if-nez v0, :cond_0

    .line 2
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v0

    const/4 v1, 0x0

    const-string v2, "pref_open_SCREEN"

    invoke-virtual {v0, v2, v1}, Lcom/estrongs/android/pop/FexApplication;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/openscreenad/s;->a:Landroid/content/SharedPreferences;

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/openscreenad/s;->a:Landroid/content/SharedPreferences;

    return-object v0
.end method

.method private h()V
    .locals 3

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/openscreenad/s;->g()Landroid/content/SharedPreferences;

    .line 2
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/openscreenad/s;->f()I

    move-result v0

    add-int/lit8 v0, v0, 0x1

    .line 3
    iget-object v1, p0, Lcom/estrongs/android/pop/app/openscreenad/s;->a:Landroid/content/SharedPreferences;

    invoke-interface {v1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    const-string v2, "key_splash_show_number"

    .line 4
    invoke-interface {v1, v2, v0}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z

    return-void
.end method


# virtual methods
.method public a()V
    .locals 2

    .line 33
    invoke-static {}, Lcom/estrongs/android/pop/app/messagebox/c;->b()Lcom/estrongs/android/pop/app/messagebox/c;

    move-result-object v0

    sget-object v1, Les/fl;->v:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/app/messagebox/c;->a(Ljava/lang/String;)Les/gl;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 34
    invoke-virtual {v0}, Les/gl;->a()V

    :cond_0
    return-void
.end method

.method public a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 1

    const/4 v0, 0x0

    .line 26
    invoke-static {v0, p4, p3}, Lcom/estrongs/android/pop/app/openscreenad/s;->a(ZLjava/lang/String;Ljava/lang/String;)V

    .line 27
    :try_start_0
    invoke-static {p2}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object p2

    .line 28
    new-instance p3, Landroid/content/Intent;

    invoke-direct {p3}, Landroid/content/Intent;-><init>()V

    const-string p4, "android.intent.action.VIEW"

    .line 29
    invoke-virtual {p3, p4}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    .line 30
    invoke-virtual {p3, p2}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    .line 31
    invoke-virtual {p1, p3}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 32
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    :goto_0
    return-void
.end method

.method public abstract a(Lcom/estrongs/android/pop/app/openscreenad/q$a;)V
.end method

.method public abstract a(Z)V
.end method

.method public b()V
    .locals 3

    .line 12
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/openscreenad/s;->g()Landroid/content/SharedPreferences;

    .line 13
    iget-object v0, p0, Lcom/estrongs/android/pop/app/openscreenad/s;->a:Landroid/content/SharedPreferences;

    const-string v1, "key_splash_show_number"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v0

    .line 14
    iget-object v1, p0, Lcom/estrongs/android/pop/app/openscreenad/s;->a:Landroid/content/SharedPreferences;

    invoke-interface {v1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v1

    const-string v2, "key_ad_show_number"

    .line 15
    invoke-interface {v1, v2, v0}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;

    move-result-object v0

    invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z

    return-void
.end method

.method public c()V
    .locals 3

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/openscreenad/s;->h()V

    .line 2
    invoke-static {}, Les/b00;->q()Les/b00;

    move-result-object v0

    invoke-virtual {v0}, Les/b00;->i()Z

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {p0, v1}, Lcom/estrongs/android/pop/app/openscreenad/s;->a(Z)V

    return-void

    .line 4
    :cond_0
    invoke-static {}, Lcom/estrongs/android/pop/app/messagebox/c;->b()Lcom/estrongs/android/pop/app/messagebox/c;

    move-result-object v0

    sget-object v2, Les/fl;->v:Ljava/lang/String;

    invoke-virtual {v0, v2}, Lcom/estrongs/android/pop/app/messagebox/c;->a(Ljava/lang/String;)Les/gl;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 5
    invoke-virtual {v0}, Les/gl;->b()Les/ll;

    move-result-object v0

    .line 6
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/openscreenad/s;->a(Les/ll;)V

    goto :goto_0

    .line 7
    :cond_1
    invoke-direct {p0, v1}, Lcom/estrongs/android/pop/app/openscreenad/s;->a(I)V

    :goto_0
    return-void
.end method
